﻿@{
    ViewBag.Title = "Thêm mới nhóm danh mục";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<div class="content">
    <fieldset style="width: 99%; height: auto; overflow: hidden; border: 1px solid #008080;">
        <legend>Thêm mới danh mục quảng cáo</legend>
        <div class="clear"></div>
        @using (Html.BeginForm("Add", "Category", FormMethod.Post, new { id = "frmAdd" }))
        {
            <div class="row">
                <div class="col-left">Loại</div>
                <div class="col-right">@Html.DropDownList("Type", null, new { @class = "combobox" })
                 <span class="red">*</span>
                </div>
            </div>
            <div class="row">
                <div class="col-left">Tên</div>
                <div class="col-right">@Html.TextBox("txtName", null, new { @class = "textbox" })
                    <span class="red">*</span>
                </div>
            </div>
            
            <div class="row">
                <div class="col-left">Từ khóa</div>
                <div class="col-right">@Html.TextBox("txtKeyword", null, new { @class = "textbox" })</div>
            </div>
            <div class="decription">
                <div class="col-left">Mô tả</div>
                <div class="col-right">@Html.TextArea("txtDecription", null, new { @class = "textarea" })</div>
            </div>
            <div class="row">
                <div class="col-left"></div>
                <div class="col-right">
                    <input type="submit" id="Submit1" class="button" name="submit1" value="Thêm mới" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@Html.ActionLink("Quay lại", "Index", "Category")
                </div>
            </div>
        }

    </fieldset>
</div>

